import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listReviewInfo(query) {
    return request({
        url: '/contractReview/info/list',
        method: 'get',
        params: query
    })
}

// 查询【请填写功能名称】详细
export function getReviewInfo(reviewId) {
    return request({
        url: '/contractReview/info/' + reviewId,
        method: 'get'
    })
}

// 新增【请填写功能名称】
export function addReviewInfo(data) {
    return request({
        url: '/contractReview/info',
        method: 'post',
        data: data
    })
}

// 修改【请填写功能名称】
export function updateReviewInfo(data) {
    return request({
        url: '/contractReview/info',
        method: 'put',
        data: data
    })
}

export function saveContractReview(data) {
    return request({
        url: "/contractReview/info/saveContractReview",
        method: "post",
        data
    });
}

// 删除【请填写功能名称】
export function delReviewInfo(reviewId) {
    return request({
        url: '/contractReview/info/' + reviewId,
        method: 'delete'
    })
}
